﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Model
{
    public class PrescriptionDetail:MarshalByRefObject
    {
        private int detailId;
        private int prescriptionId;
        private int medicineId;
        private int morningMed;
        private int noonMed;
        private int afternoonMed;
        private int eveningMed;
        private int quantity;
        private string dosage;

        public override object InitializeLifetimeService()
        {
            return null;
        }

        public PrescriptionDetail() { }
        public PrescriptionDetail(int prescriptionId, int medicineId, int morningMed,
			int noonMed, int afternoonMed, int eveningMed, int quantity,
			string dosage) {
		this.prescriptionId = prescriptionId;
		this.medicineId = medicineId;
		this.morningMed = morningMed;
		this.noonMed = noonMed;
		this.afternoonMed = afternoonMed;
		this.eveningMed = eveningMed;
		this.quantity = quantity;
		this.dosage = dosage;
	}

        public int getDetailId()
        {
            return detailId;
        }

        public void setDetailId(int detailId)
        {
            this.detailId = detailId;
        }

        public int getPrescriptionId()
        {
            return prescriptionId;
        }

        public void setPrescriptionId(int prescriptionId)
        {
            this.prescriptionId = prescriptionId;
        }

        public int getMedicineId()
        {
            return medicineId;
        }

        public void setMedicineId(int medicineId)
        {
            this.medicineId = medicineId;
        }

        public int getMorningMed()
        {
            return morningMed;
        }

        public void setMorningMed(int morningMed)
        {
            this.morningMed = morningMed;
        }

        public int getNoonMed()
        {
            return noonMed;
        }

        public void setNoonMed(int noonMed)
        {
            this.noonMed = noonMed;
        }

        public int getAfternoonMed()
        {
            return afternoonMed;
        }

        public void setAfternoonMed(int afternoonMed)
        {
            this.afternoonMed = afternoonMed;
        }

        public int getEveningMed()
        {
            return eveningMed;
        }

        public void setEveningMed(int eveningMed)
        {
            this.eveningMed = eveningMed;
        }

        public int getQuantity()
        {
            return quantity;
        }

        public void setQuantity(int quantity)
        {
            this.quantity = quantity;
        }

        public string getDosage()
        {
            return dosage;
        }

        public void setDosage(string dosage)
        {
            this.dosage = dosage;
        }
    }
}
